import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import { registerMicroApps, start } from "qiankun";

Vue.config.productionTip = false;

registerMicroApps([
  {
    name: "llzy",
    entry: "http://localhost:8081",
    container: "#app",
    activeRule: "/index/llzy",
  },
  {
    name: "xtgl",
    entry: "http://localhost:8082",
    container: "#app",
    activeRule: "/index/xtgl",
  },
]);

start();

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
